﻿

namespace WebQuestionnaire.Core
{
    using System;
    using NHibernate.Validator.Constraints;
    using SharpArch.Core;
    using SharpArch.Core.DomainModel;
    using System.Collections.Generic;


    public class Element : EntityWithTypedId<Guid>
    {
        public virtual string ElementText { set; get; }

        public virtual Questionnaire Questionnaire { set; get; }

        public virtual int ElementType { set; get; }

        public virtual int SortOrder { set; get; }

        public virtual bool Enabled{ set; get;}

        public virtual bool IsRequired { set; get; }

        public virtual String Answers { set; get; }

        public virtual string CorrectAnswer { set; get; }

    }
}